OPC Studio User's Guide and Reference
OnNext Method (ISink<T>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ISink<T> Interface : OnNext Method
The current value to be processed by the sink.

The value of this parameter can be null (Nothing in Visual Basic).

Provides the sink with new data.
Syntax
'Declaration
 
Sub OnNext( _
   ByVal value As T _
) 
'Usage
 
Dim instance As ISink(Of T)
Dim value As T
 
instance.OnNext(value)
void OnNext( 
   T value
)
void OnNext( 
   T^ value
) 

Parameters

value
The current value to be processed by the sink.

The value of this parameter can be null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also